package com.runfig.wowo.cloud.feign;

import com.runfig.wowo.cloud.common.Result;
import com.runfig.wowo.cloud.domain.UserInfo;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserInfoFeignClient implements UserInfoFeignApi{

    @Override
    public Result checkPhone(String phone) {
        UserInfo userInfo = new UserInfo();
        userInfo.setNickname("ddd");
        return Result.success(userInfo);
    }
}
